﻿namespace Vibstudio.NetConfigurator.IoC.Configuration
{
    using System.Configuration;

    public class NcSettingElement : ConfigurationElement
    {
        [ConfigurationProperty("key", IsRequired = true)]
        public string Key
        {
            get { return this["key"] as string; }
        }

        [ConfigurationProperty("type", IsRequired = true)]
        public string Type
        {
            get { return this["type"] as string; }
        }

        [ConfigurationProperty("mapTo", IsRequired = true)]
        public string MapTo
        {
            get { return this["mapTo"] as string; }
        }
    }
}
